package com.spddr.pmos.cxf;

import javax.ws.rs.PUT;
import javax.ws.rs.Path;

import com.spddr.pmos.jpa.Transmission;

import cn.seqdata.cxf.repos.JaxrsAllObjRepository;

@Path("/transmission")
public interface JaxrsTransmission extends JaxrsAllObjRepository<Transmission> {
	@PUT
	@Path("/")
	default <S extends Transmission> S save(S entity) {
		return getRepository().save(entity);
	}
}
